/* Mode buttons */
.modeButtons {
  position: relative;
  display: flex;
  gap: var(--spacing-6);
  justify-content: center;
}

.modeButton {
  position: relative;
  z-index: 2;
  display: flex;
  gap: var(--spacing-2);
  align-items: center;
  padding: var(--spacing-2) var(--spacing-3) var(--spacing-2)
    var(--spacing-2half);
  font-family: var(--main-font);
  font-size: var(--font-size-4);
  font-weight: 500;
  color: var(--overlay-70);
  cursor: pointer;
  background-color: transparent;
  border: none;
  border-radius: var(--border-radius-full);
  transition: color 0.2s ease;
}

.modeButton:hover {
  color: var(--global-foreground);
}

.modeButton:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 2px;
  box-shadow: 0px 0px 60px 8px var(--primary-overlay-40);
}

.modeButtonActive {
  color: var(--global-foreground);
}

.modeButtonBackground {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: 100%;
  background-color: var(--overlay-10);
  border-radius: var(--border-radius-full);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modeButtonIcon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
